/*
* NotEnoughFundsException
*
* r3
*
* GNU General Public License v3.0
*/

package com.acme.bankapp.exceptions;

import com.acme.bankapp.domain.account.*;

public class NotEnoughFundsException extends BankException {
	
	private Account account;
	private double amount;
	
	public NotEnoughFundsException(final Account account, final double amount) {
		this.account = account;
		this.amount = amount;
	}
	
	public Account getAccount() {
		return this.account;
	}
	
	public double getAmount() {
		return this.amount;
	}
	
}
